package com.wiringweb.data;

import java.util.Map;
import java.util.Set;

/**
 * @author sad
 */
public class FormData {
    private final Map<String, Object> arguments;

    public FormData(Map<String, Object> arguments) {
        this.arguments = arguments;
    }

    public Set<String> getNames() {
        return arguments.keySet();
    }

    public Object getArgument(String key) {
        return arguments.get(key);
    }
}
